﻿namespace YWM.DependencyInjection
{
    /// <summary>
    /// 依赖生命周期
    /// </summary>
    public enum DependencyLifeTime
    {
        /// <summary>
        /// 每次都实例化
        /// </summary>
        Transient,
        /// <summary>
        /// 嵌套循环内仅实例化一次
        /// </summary>
        Scoped,
        /// <summary>
        /// 程序运行内仅实例化一次
        /// </summary>
        Singleton
    }
}
